import IMenuForm from '@/model/form/menu/IMenuForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 新增/修改 菜单
export default function menuInsertOrUpdateApi(form: IMenuForm) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IMenuForm>(
    '/menu/insertOrUpdate',
    form
  )
}
